package com.yq.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CardGame implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "活动主题")
    private String title;

    @ApiModelProperty(value = "活动宣传图")
    private String pic;

    @ApiModelProperty(value = "活动简介")
    private String info;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date starttime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endtime;
    @ApiModelProperty(value = "类型（1=概率类，2=随机类）")
    private Byte type;

    @ApiModelProperty(value = "状态（0=新建，1=已加载）")
    private Boolean status;

    private static final long serialVersionUID = 1L;


}
